<%--
  Created by IntelliJ IDEA.
  User: xianfei
  Date: 15-9-2
  Time: 上午10:24
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form" %>
<html>
<head>
    <title>短信模版更新</title>
</head>
<body>
<div>
    <form:form commandName="messageModelDTO" action="/note/model_save">
        <form:hidden path="guid"/>
        <table class="table table-striped">
            <tr>
                <td width="10%">模版标题：</td>
                <td><form:select path="name" items="${templates}" itemValue="value" itemLabel="label"/></td>
            </tr>
            <tr>
                <td width="20%">模版内容：</td>
                <td><form:textarea path="value"/></td>
            </tr>
            <tr>
                <td>操作:</td>
                <td>
                    <input type="submit" class="btn btn-primary" vlaue="保存"/>
                    <a href="/note/model_show" class="btn btn-warning">取消</a>
                </td>
            </tr>
        </table>

    </form:form>
</div>

</body>
</html>